home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / bench / x.txt / 000149_shifeux@hotmail.com_Thu Nov 15 10:48:47 EST 2001.msg < prev    next >
Text File  |  2020-01-01  |  4KB  |  106 lines

  1. Article: 12970 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.harvard.edu!purdue!news.bu.edu!micro-heart-of-gold.mit.edu!news-out.nuthinbutnews.com!propagator2-austin!propagator!feed2.newsfeeds.com!newsfeeds.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hog.berkeley.edu!newsfeed.berkeley.edu!ucberkeley!news.gv.tsc.tdk.com!sn-xit-02!supernews.com!postnews1.google.com!not-for-mail
  3. From: shifeux@hotmail.com (Shifeux)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: ZModem Problems
  6. Date: 15 Nov 2001 07:32:16 -0800
  7. Organization: http://groups.google.com/
  8. Lines: 87
  9. Message-ID: <336f652d.0111150732.18b42f4f@posting.google.com>
  10. References: <336f652d.0111141329.b5d3ad@posting.google.com> <9suos6$puh$1@newsmaster.cc.columbia.edu>
  11. NNTP-Posting-Host: 146.145.217.201
  12. Content-Type: text/plain; charset=ISO-8859-1
  13. Content-Transfer-Encoding: 8bit
  14. X-Trace: posting.google.com 1005838336 13985 127.0.0.1 (15 Nov 2001 15:32:16 GMT)
  15. X-Complaints-To: groups-abuse@google.com
  16. NNTP-Posting-Date: 15 Nov 2001 15:32:16 GMT
  17. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12970
  18.  
  19. > You mean, when running Zmodem software as an external protocol
  20. > over a Kermit connection?
  21.  
  22. I think so, I am using the kermit client to connect to a remote host
  23. which only supports the zmodem transfer protocol. I was under the
  24. impression that kermit has its own way of handling the zmodem protocol
  25. by the set proto z statement at the begining of my script?
  26.  
  27. > : ... but I get the following error using my
  28. > : script after issuing a receive * command:
  29. > : 
  30. > : Readline:TIMEOUT
  31. > : Retry 0: Got TIMEOUT
  32. > : 
  33. > These are messages from the Zmodem software.
  34.  
  35. Thats what I thought, the transfer works sometimes and other times it
  36. does not. My problem is that I would need some way to trap that error
  37. so the script does not halt. Any ideas?
  38.  
  39.  
  40. > : This "timeout" seems to be the same time (after 10 seconds) regardless
  41. > : of what I set my client timeout to.  My modem settings are as follows.
  42. > : 
  43. > : set file type binary
  44. > : set proto z {rz} {rz -a} {sz %s} {sz -a %s}
  45. > : set exit on-disconnect on
  46. > : set exit warning off
  47. > : ; set macro error on
  48. > : set receive timeout 94        <--
  49. > : set send timeout 15 dynamic   <--
  50. > : set modem type usrobotics
  51. > : set line /dev/tty01
  52. > : set speed 38400
  53. > : set flow xon/xoff
  54. > : 
  55. > The marked lines are effective only for Kermit transfers.
  56.  
  57. > SET FLOW XON/XOFF might (or might not) interfere with Zmodem protocol.
  58.  
  59. i turned it off and tested it and it had no effect on the timeouts.
  60.  
  61.  
  62. > : utput \13 
  63.  
  64. > Missing "o".
  65.  
  66. :-) my copy/paste was a little bad, the "o" is there
  67.  
  68. > : output \%s\13
  69. > : 
  70. > : input 20 {Username:}
  71. > : output USER\13
  72. > : 
  73. > : input 20 {Password:}
  74. > : output PASS\13
  75. > : 
  76. > : input 20 {Transfer id:}
  77. > : output PASSAGAIN\13
  78. > : 
  79. > : input 20 {Enter choice:}
  80. > : output 2\13
  81. > : 
  82. > You're not checking any of these INPUTs for failure.  Thus even if you
  83. > script doesn't work, it will still start Zmodem in receive mode, and of
  84. > Zmodem will time out if there is no connection.
  85.  
  86. I did have "if failure timeout" to catch this but i was experimenting
  87. due to the timeout errors i was receiving. Made no difference either
  88. way for me. The same timeout occurs.
  89.  
  90. > : receive *
  91. >
  92. > What's the "*"?  This tells Kermit to save the incoming file under the
  93. > name "*" (literally).  You probably didn't mean that.  Just leave it off.
  94.  
  95. This is what I type to get the files from the remote host. In
  96. interactive mode typing receive * will transfer all the files in my
  97. outbin on the remote host to the local pwd with the appropriate file
  98. names.
  99.  
  100. I am able to use the very same commands in interactive mode and
  101. transfer files easily, however I think I am missing a parameter
  102. somewhere for the script.  I have never seen the timeout errors while
  103. going through these steps manually unscripted.
  104.  
  105. > - Frank
  106.